package cn.tedu.oa.room.mapper;

import cn.tedu.oa.room.pojo.dto.RoomQuery;
import cn.tedu.oa.room.pojo.entity.Room;
import cn.tedu.oa.room.pojo.vo.RoomVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RoomMapper {
    List<RoomVO> select(RoomQuery roomQuery);

    void insert(Room room);

    void update(Room room);

    void delete(Integer id);
}
